module.exports = {
  outputDir: 'dist',
  publicPath: process.env.NODE_ENV === 'production' ? '/nanc-h5/' : '/',
  devServer: {
    port: '8080',
    open: true,
    overlay: {
      warnings: false,
      errors: true
    },
    proxy: {
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      '': {
        target: `http://111.229.247.161:9001`,
        changeOrigin: true,
        pathRewrite: {
        }
      }
    }
  }
}
